home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -readerstuff- / steve_glover / source-code / local.h < prev    next >
C/C++ Source or Header  |  1999-04-21  |  2KB  |  55 lines

  1.  
  2.    /***********************************************************************
  3.    *                                                                      *
  4.    *                            COPYRIGHTS                                *
  5.    *                                                                      *
  6.    *   Copyright (c) 1990  Commodore-Amiga, Inc.  All Rights Reserved.    *
  7.    *   This file was modified by © Zinneberg-Soft.                        *
  8.    ***********************************************************************/
  9.  
  10. /* local.h - Definitions used by standard modules */
  11.  
  12.    /*  #include <stdlib.h>  */
  13.  
  14.  
  15. #include "app.h"
  16.  
  17. /**********/
  18. /* main.c */
  19. /**********/
  20.  void __stdargs ErrorF(char * , ...);
  21. extern struct IntuitionBase *IntuitionBase;
  22. extern struct Library       *CxBase;
  23. extern struct GfxBase       *GfxBase;
  24. extern struct DosLibrary    *DOSBase;
  25. extern struct Library       *GadToolsBase;
  26.  
  27. extern struct MsgPort *cxport;      /* commodities messages here      */
  28. extern ULONG          cxsigflag;    /* signal for above               */
  29.  
  30. extern struct MsgPort *iport;       /* Intuition IDCMP messages here   */
  31. extern ULONG          isigflag;     /* signal for above                */
  32.  
  33. /********/
  34. /* cx.c */
  35. /********/
  36. extern char   hotkeybuff[];   /* holds the string describing the popup */
  37.                               /* hotkey. Used for the window title     */
  38.  
  39. VOID handleCxMsg(struct Message *);
  40. BOOL setupCX(char **);
  41. VOID shutdownCX(VOID);
  42.  
  43. /************/
  44. /* window.c */
  45. /************/
  46. VOID   handleIMsg(struct IntuiMessage *);
  47. struct Window *getNewWindow(VOID);
  48. struct Window *getFirstWindow(VOID);
  49. int    addGadgets(struct Window *);
  50. VOID   removeGadgets(VOID);
  51.  
  52. #define PRIORITY_TOOL_TYPE     "CX_PRIORITY"
  53. #define POP_ON_START_TOOL_TYPE "CX_POPUP"
  54. #define POPKEY_TOOL_TYPE       "CX_POPKEY"
  55.